package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 产品型号表
 * </p>
 *
 * @author 小飞
 * @since 2019-06-27
 */
@TableName("product_model")
public class ProductModel implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 对内昵称
     */
    @TableField("model_name_in")
    private String modelNameIn;

    /**
     * 对外昵称
     */
    @TableField("model_name_out")
    private String modelNameOut;

    /**
     * 分类id
     */
    @TableField("kind_id")
    private Long kindId;


    public String getProductModelName() {
        return productModelName;
    }

    public void setProductModelName(String productModelName) {
        this.productModelName = productModelName;
    }

    /**
     * 产品名称
     */
    @TableField("product_model_name")
    private String  productModelName;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getModelNameIn() {
        return modelNameIn;
    }

    public void setModelNameIn(String modelNameIn) {
        this.modelNameIn = modelNameIn;
    }

    public String getModelNameOut() {
        return modelNameOut;
    }

    public void setModelNameOut(String modelNameOut) {
        this.modelNameOut = modelNameOut;
    }

    public Long getKindId() {
        return kindId;
    }

    public void setKindId(Long kindId) {
        this.kindId = kindId;
    }

    @Override
    public String toString() {
        return "ProductModel{" +
        "id=" + id +
        ", modelNameIn=" + modelNameIn +
        ", modelNameOut=" + modelNameOut +
        ", kindId=" + kindId +
        "}";
    }
}
